package com.qidian.mes.sys.controller;

import com.qidian.mes.log.pojo.OptionLog;
import com.qidian.mes.pojo.Dict;
import com.qidian.mes.sys.service.OptionLogService;
import com.qidian.mes.util.pojo.MESResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @Author 32郗建狄
 * @Company GX631
 * Time 2023/10/27 14:53
 * Description
 */
@RestController
@RequestMapping("/log")
@CrossOrigin
public class OptionLogController {
    @Autowired
    private OptionLogService optionLogService;
    @GetMapping("/list")
    public MESResult list(@RequestParam(defaultValue = "1")int page, @RequestParam(defaultValue = "10") int limit, OptionLog optionLog){
        return optionLogService.list(page, limit, optionLog);
    }
}
